home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / Dots & Pixels / headers / scrolling_noise.h < prev    next >
Text File  |  1995-09-29  |  631b  |  29 lines

  1. //
  2. // scrolling_noise is there for ease of use;
  3. // it can be used to create a scrolling area.
  4. //
  5. class scrolling_noise : public gworld
  6. {
  7.     public:
  8.         scrolling_noise( int breedte, int hoogte, int diepte,
  9.                             short dh, short dv, port &original);
  10.  
  11.         scrolling_noise( int breedte, int hoogte, int diepte,
  12.                             short dh, short dv, CTabHandle cTable = nil);
  13.         ~scrolling_noise();
  14.         void step() const;
  15.  
  16.     private:
  17.  
  18.         void init( int breedte, int hoogte, int diepte, short dh, short dv);
  19.  
  20.         short d_h;
  21.         short d_v;
  22.         gworld *newHor;
  23.         gworld *newVert;
  24.         Rect origHorRect;
  25.         Rect destHorRect;
  26.         Rect origVertRect;
  27.         Rect destVertRect;
  28. };
  29.